table of contents
GLUTGAMEMODESTRING(3) | Library Functions Manual (local) | GLUTGAMEMODESTRING(3) |
NAME¶
glutGameModeString
—
Set the game mode display string
LIBRARY¶
OpenGLUT - gamemode
SYNOPSIS¶
#include
<openglut.h>
void
glutGameModeString
(const
char *string);
PARAMETERS¶
string
A configuration parameter as a string.
DESCRIPTION¶
Sets the gamemode status according to an undocumented string.
Glancing at old GLUT 3.7, the freeglut codebase that we inherited does not implement more than a single GLUT gamemode ``criteria''. It may not even do that much correctly.
In principle, this code lets you set the video dimensions, rendering depth, and video refresh rate. In practice, the combination that you request may be unsupportable and the target host may even refuse to honor any such changes.
If you use this function but do not set all options, the following defaults may be substituted for some values:
-
width
640
-
height
480
-
depth
16
-
refresh
72
TODO¶
Documentation
SEE ALSO¶
glutGameModeString(3) glutEnterGameMode(3) glutLeaveGameMode(3) glutGameModeGet(3)